AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This is used to split resource path into segments for composing a URL, not for signing. When splitting resource path into segments for composing a URL we must discern that which is a literal which we do not encode and that which is a label which we do encode.

Namespace: Amazon.Util
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public IEnumerable<UriComponent> SplitResourcePathIntoSegmentsV2(
         String resourcePath,
         IDictionary<String, String> pathResources
)

Parameters

resourcePath
Type: System.String

The resource path, which includes literals and labels.

pathResources
Type: System.Collections.Generic.IDictionary<System.String, System.String>

The dictionary for substituting label values.

Return Value


Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer